using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Easy.Geo.Kml;

namespace demo
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            Document doc = new Document("teste");
            Placemark mark = new Placemark("", new Coordinate(100, 200, 0));
            doc.AddFeature(mark);

            Kml kml = new Kml();
            kml.Document = doc;
            kml.Build("dados.kml");
        }
    }
}